package com.mayikt.spike.mapper.entity;

import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * (MeiteSeckill) 实体类
 *
 * @author zhangxun
 * @since 2020-06-18
 */
@Data
@TableName(value = "meite_seckill")
public class Seckill implements Serializable {
	private static final long serialVersionUID=1L;
	/*** */
	@TableId(type = IdType.AUTO)
	private Integer seckillId;

	/*** */
	@TableField("name")
	private String name;

	/*** */
	@TableField("invertory")
	private Integer invertory;

	/*** */
	@TableField("start_time")
	@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
	private LocalDateTime startTime;

	/*** */
	@TableField("end_time")
	@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
	private LocalDateTime endTime;

	/*** */
	@TableField("create_time")
	@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

	/*** */
	@TableField("version")
	private Long version;

}